package cn.tjd.jwttest.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

/**
 * @Auther: TJD
 * @Date: 2019-12-24
 * @DESCRIPTION:
 **/
public class User implements Serializable {

    private static final long serialVersionUID = 481567908285559844L;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String token;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long userId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userCode;// VARCHAR(20) COMMENT '用户名',

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userName;// VARCHAR(100) COMMENT '用户名称',

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String pwd;// VARCHAR(20) COMMENT '密码',

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Character isValid;// VARCHAR(20) COMMENT '账号状态',

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String orgCode;//机构编码

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String sDate;//账户开始时间

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String eDate;//账户过期时间

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String webRoleCode;// 系统角色编码

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String dataRoleCode;//数据角色编码

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String groupName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String lxdh;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String lxyx;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createDate;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String updateDate;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createCode;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String updateCode;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Character getIsValid() {
        return isValid;
    }

    public void setIsValid(Character isValid) {
        this.isValid = isValid;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getsDate() {
        return sDate;
    }

    public void setsDate(String sDate) {
        this.sDate = sDate;
    }

    public String geteDate() {
        return eDate;
    }

    public void seteDate(String eDate) {
        this.eDate = eDate;
    }

    public String getWebRoleCode() {
        return webRoleCode;
    }

    public void setWebRoleCode(String webRoleCode) {
        this.webRoleCode = webRoleCode;
    }

    public String getDataRoleCode() {
        return dataRoleCode;
    }

    public void setDataRoleCode(String dataRoleCode) {
        this.dataRoleCode = dataRoleCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getLxdh() {
        return lxdh;
    }

    public void setLxdh(String lxdh) {
        this.lxdh = lxdh;
    }

    public String getLxyx() {
        return lxyx;
    }

    public void setLxyx(String lxyx) {
        this.lxyx = lxyx;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreateCode() {
        return createCode;
    }

    public void setCreateCode(String createCode) {
        this.createCode = createCode;
    }

    public String getUpdateCode() {
        return updateCode;
    }

    public void setUpdateCode(String updateCode) {
        this.updateCode = updateCode;
    }
}
